package wickethub.domain;

import javax.persistence.Entity;
import javax.persistence.Lob;

@Entity
public class BlogPost extends Resource {
	
	@Lob private String url;
	
	public String getUrl() {
		return url;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null || !(obj instanceof BlogPost)) {
			return false;
		}
		return ((BlogPost)obj).getId().equals(this.getId());
	}
	
}